import 'package:date_format/date_format.dart';

class DateUtil{
  ///
  /// 当前时间
  ///
  static String now(){
    return formatDate(DateTime.now(),
        [yyyy, '-', mm, '-', dd, " ", HH, ':', nn, ':', ss]);
  }
}